[bone,jnt,data] = GETBONES_DATA(data) retrieves bone information from data struct and creates joints. This is used for grood and suntay calculations ARGUMENTS data .... struct containing marker data RETURNS bone .... The names of the different bone segments jnt ... The joint name and the bones used to calculate the joint angle ex. RightMTP joint is calculated from RightForeFoot and RightHallux